package com.zw.healthy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

import javax.swing.*;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@MapperScan("com.zw.healthy.mapper")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.zw.api"})
@EnableWebSecurity
@EnableScheduling
public class HealthyApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(HealthyApplication.class,args);
    }
}
